-- GENERATED SPELL FOR [Gurn Grubnosh] --


function spell0_20116(pUnit, Event) --@Furious Rage,Self--
pUnit:FullCastSpellOnTarget(35491,pUnit)
pUnit:RegisterEvent('Sorts_20116', 6348, 1)
end

function Sorts_20116(pUnit, Event)
local choix_sorts_20116 = math.random(0, 0)
if choix_sorts_20116 == 0 then
pUnit:RegisterEvent('spell0_20116', 1, 1)
end
end

function mob20116_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20116', math.random(1500, 3000), 1)
end

function mob20116_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20116_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20116_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20116, 1, 'mob20116_Action')
RegisterUnitEvent(20116, 2, 'mob20116_Leave')
RegisterUnitEvent(20116, 3, 'mob20116_Kill')
RegisterUnitEvent(20116, 4, 'mob20116_Die')
